-- GENERATED SPELL FOR [Aluntir] --


function spell0_15288(pUnit, Event) --@Berserker Charge,n/a--
pUnit:FullCastSpellOnTarget(19471,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15288', 600, 1)
end

function Sorts_15288(pUnit, Event)
local choix_sorts_15288 = math.random(0, 0)
if choix_sorts_15288 == 0 then
pUnit:RegisterEvent('spell0_15288', 1, 1)
end
end

function mob15288_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15288', math.random(1500, 3000), 1)
end

function mob15288_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15288_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15288_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15288, 1, 'mob15288_Action')
RegisterUnitEvent(15288, 2, 'mob15288_Leave')
RegisterUnitEvent(15288, 3, 'mob15288_Kill')
RegisterUnitEvent(15288, 4, 'mob15288_Die')
